<?php

require_once "spElement.php";

class spFont extends spElement
{
	public function  __construct( $param=null )
	{
		parent::__construct( "font", $param );
		parent::setMustHaveEndingTag( true );
		
		if ( isset($param["face"]) )
			parent::addAttr( "face", $param["face"] );

		if ( isset($param["font-size"]) )
			parent::addStyle( "font-size", $param["font-size"] );
			
	
	}
}

?>